package com.project.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
@Api("出库单主体")
@TableName("t_check")
public class CheckBean {
    @TableId("pk_checkId")
    private long checkId;
    private ClientBean clientBean;
    private UserBean userBean;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate saleDate;
    private String address;
    private List<CheckInfoBean> checkInfoList;
    /**
     * 订单总金额
     */
    private long allPrice;
}
